#include"jni_android_Log.h"
#include<jni.h>
#include"android/log.h"

extern int __android_log_write(int prio, const char *tag, const char *text);

JNIEXPORT void JNICALL Java_jni_android_Log_write
  (JNIEnv *env,jclass jazz, jint prio, jstring tag, jstring text)
{
	const char *_tag = (*env)->GetStringUTFChars(env, tag, 0);
	const char *_text = (*env)->GetStringUTFChars(env, text, 0);
	 __android_log_write(prio, _tag, _text);
}









